package net.zigin.nhi.could.waste.model;

import java.util.Date;
import lombok.Data;
import net.zigin.commons.util.StringUtil;

/*#################################################################*
# 说明:以下代码通过哲勤代码生成工具自动生成    
# 工具:GeneratorCode
# 作者:mgw1986                                                  
# 生成时间:2021-10-16 0:31:28                                               
##################################################################*/

/**
 * 
 *  WasteBoxRecord实体类
 * @ClassName: WasteBoxRecord
 * @author mgw1986
 * @date 2021-10-16 0:31:28
 * @version V1.0
 */
@Data
public class WasteBoxRecord {
     //集装箱记录ID--->列名: id 
	private String id;
     //医废集装箱ID--->列名: waste_box_id 
	private String wasteBoxId;
     //入库时间--->列名: in_time 
	private Date inTime;
     //入库重量--->列名: in_weight 
	private float inWeight;
     //出库时间--->列名: out_time 
	private Date outTime;
     //出库重量--->列名: out_weight 
	private float outWeight;
     //集装箱状态（in_depot：入库，out_depot：出库）--->列名: status 
	private String status;

    public WasteBoxRecord() {
    }

    public WasteBoxRecord(String wasteBoxId,Float inWeight) {
        this.id = StringUtil.get32UUID();
        this.wasteBoxId = wasteBoxId;
        this.status= "in_depot";
        this.inTime = new Date();
        this.inWeight = inWeight;
    }
}
